//
//  BaseNaviPanel.h
//  AsyncImages
//
//  Created by Matthew on 11-12-28.
//  Copyright 2011年 develop4u.gr. All rights reserved.
//

#import <UIKit/UIKit.h>

#import "BaseInfoPanel.h"
#import "BaseDetailPanel.h"

#define SCREEN_WIDTH 320
#define SCREEN_HEIGHT 480

@class BaseInfoPanel;
@class BaseDetailPanel;

@interface BaseNaviPanel : UIView 
{
    BaseInfoPanel *infoPanel;
    BaseInfoPanel *table_tween;
    BaseDetailPanel *detailPanel;
    NSString *suffix;
    
    NSString *tweenTableLink;
    NSString *tweenTableLink_Character;
    
    NSString *detail_panel_shift_in;
    NSString *unit_trigger;
    NSString *detail_panel_shift_out;
    NSString *detail_view_exit;
    NSString *page_refresh;
    NSString *share_btn_trigger;
    NSString *unit_trigger_tween;
    NSString *detail_view_exit_tween;
    NSString *tween_table_suffix;
    
    NSString *firstTitle;
    
    BOOL useTweenPanel;
}

@property (nonatomic, copy) NSString *tweenTableLink_Character;

-(void)   trigger:(NSString *) infoLink
   infoPanelTitle:(NSString *) inInfoPanelTitle
detailPanelLink:(NSString *) inDetailPanelLink
detailPanelTitle:(NSString *) inDetailPanelTitle
                suffix:(NSString *) inSuffix
                 type:(int) inType;

-(void) setAtomData:(NSString *) feedAndUnit
               atom:(NSString *) inAtomUnit
               feed:(NSString  *) feedUnit;

-(void) configTable:(int) inTableWidth
        tableHeight:(int) inTableHeight
         tableWidth:(int) inTableRowHeight
     tableUnitStyle:(int) inTableUnitStyle;

-(void) configTweenTable:(int) inTableWidth
             tableHeight:(int) inTableHeight
              tableWidth:(int) inTableRowHeight
          tableUnitStyle:(int) inTableUnitStyle;

-(void) setUpTweenTable:(NSString *) inLink;
-(void) setUpTweenAtomData:(NSString *) feedAndUnit
               atom:(NSString *) inAtomUnit
               feed:(NSString  *) feedUnit;

-(void) setUpUseCharacterPanel;

@end
